<?php
namespace app\member\service;
/**
 * 菜单接口
 */
class MenuService {
    /**
     * 获取菜单结构
     */
    public function getSystemMenu() {
        return array(
            'member' => array(
                'name' => '会员',
                'icon' => 'user',
                'order' => 98,
                'menu' => array(
                    array(
                        'name' => '会员管理',
                        'order' => 0,
                        'menu' => array(
                            array(
                                'name' => '会员管理',
                                'icon' => 'user',
                                'url' => url('member/User/index'),
                                'order' => 0
                            ),
                            array(
                                'name' => '角色管理',
                                'icon' => 'group',
                                'url' => url('member/Role/index'),
                                'order' => 1
                            ),
                        )
                    ),
                    /*array(
                        'name' => '支付管理',
                        'order' => 0,
                        'menu' => array(
                            array(
                                'name' => '支付记录',
                                'icon' => 'user',
                                'url' => url('member/SystemPayLog/index'),
                                'order' => 0
                            ),
                            array(
                                'name' => '充值记录',
                                'icon' => 'user',
                                'url' => url('member/SystemPayCharge/index'),
                                'order' => 1
                            ),
                            array(
                                'name' => '提现管理',
                                'icon' => 'user',
                                'url' => url('member/SystemPayCash/index'),
                                'order' => 2
                            ),
                            array(
                                'name' => '资金操作',
                                'icon' => 'user',
                                'url' => url('member/SystemPayHandle/index'),
                                'order' => 3
                            ),
                            array(
                                'name' => '支付设置',
                                'icon' => 'user',
                                'url' => url('member/SystemPayConf/index'),
                                'order' => 4
                            ),

                        )
                    ),
                    array(
                        'name' => '验证管理',
                        'order' => 0,
                        'menu' => array(
                            array(
                                'name' => '验证码',
                                'icon' => 'user',
                                'url' => url('member/SystemVerify/index'),
                                'order' => 0
                            ),
                        )
                    ),*/
                ),
            ),
        );
    }
}

